package com.ktjy.mapper.user;

import com.ktjy.pojo.StorageRecord;
import com.ktjy.pojo.SysRole;
import com.ktjy.pojo.SysUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysRoleMapper {
    //1.查询用户角色信息
    public List<SysUser> selectRole();
    //2.查询角色信息
    public List<SysRole> selectRoles();

    //3.添加角色
    public int insertRole(SysRole sysRole);

    //4.修改角色
    public int updateRole(SysRole sysRole);

    //5.删除角色
    public int deleteRole(long id);
}
